module.exports = app => {
  const { STRING, INTEGER, JSON } = app.Sequelize;
  const tableModel = app.model.define('t_api_group', {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    name: STRING(30),
    parentId: STRING(30),
    type: STRING(30),
    apiId: STRING(30),
    projectId: STRING(30),
  });
  return tableModel;
};
